using System;
using System.Windows;
using System.Data;
using System.Data.OleDb;
using System.Data.SqlClient;
using System.Text;
using System.Collections;

namespace HREDU.Hoang_Tuan.Classes
{
    public abstract class CNGACH
    {
        private int _id_ngach;
        private int _id_nhomngach;
        private string _maso;
        private string _ten_ngach;

        /// <summary>
        /// Gets or sets the <c>id_ngach</c> column value.
        /// </summary>
        /// <value>The <c>id_ngach</c> column value.</value>
        public int Id_ngach
        {
            get { return _id_ngach; }
            set { _id_ngach = value; }
        }

        public int Id_nhomngach
        {
            get { return _id_nhomngach; }
            set { _id_nhomngach = value; }
        }

        /// <summary>
        /// Gets or sets the <c>maso</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>maso</c> column value.</value>
        public string Maso
        {
            get { return _maso; }
            set { _maso = value; }
        }

        /// <summary>
        /// Gets or sets the <c>ten_ngach</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>ten_ngach</c> column value.</value>
        public string Ten_ngach
        {
            get { return _ten_ngach; }
            set { _ten_ngach = value; }
        }
    }

    public abstract class CBAC
    {
        private int _id_bac;
        private string _ten_bac;

        /// <summary>
        /// Gets or sets the <c>id_bac</c> column value.
        /// </summary>
        /// <value>The <c>id_bac</c> column value.</value>
        public int Id_bac
        {
            get { return _id_bac; }
            set { _id_bac = value; }
        }

        /// <summary>
        /// Gets or sets the <c>ten_bac</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>ten_bac</c> column value.</value>
        public string Ten_bac
        {
            get { return _ten_bac; }
            set { _ten_bac = value; }
        }
    }

    public abstract class CNBL
    {
        private int _id_nbl;
        private int _id_ngach;
        private int _id_bac;
        private decimal _heso;

        /// <summary>
        /// Gets or sets the <c>ID_NBL</c> column value.
        /// </summary>
        /// <value>The <c>ID_NBL</c> column value.</value>
        public int ID_NBL
        {
            get { return _id_nbl; }
            set { _id_nbl = value; }
        }

        /// <summary>
        /// Gets or sets the <c>ID_NGACH</c> column value.
        /// </summary>
        /// <value>The <c>ID_NGACH</c> column value.</value>
        public int ID_NGACH
        {
            get { return _id_ngach; }
            set { _id_ngach = value; }
        }

        /// <summary>
        /// Gets or sets the <c>ID_BAC</c> column value.
        /// </summary>
        /// <value>The <c>ID_BAC</c> column value.</value>
        public int ID_BAC
        {
            get { return _id_bac; }
            set { _id_bac = value; }
        }

        /// <summary>
        /// Gets or sets the <c>HESO</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>HESO</c> column value.</value>
        public decimal HESO
        {
            get
            {
                return _heso;
            }
            set
            {
                _heso = value;
            }
        }
    }

    public abstract class CLYDONL
    {
        private int _id_lydonl;
        private string _ten_lydonl;

        /// <summary>
        /// Gets or sets the <c>ID_LYDONL</c> column value.
        /// </summary>
        /// <value>The <c>ID_LYDONL</c> column value.</value>
        public int ID_LYDONL
        {
            get { return _id_lydonl; }
            set { _id_lydonl = value; }
        }

        /// <summary>
        /// Gets or sets the <c>TEN_LYDONL</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>TEN_LYDONL</c> column value.</value>
        public string TEN_LYDONL
        {
            get { return _ten_lydonl; }
            set { _ten_lydonl = value; }
        }
    }
}
